/**
 * 
 */
package bean;

/**
 * The password change bean.
 * 
 * @author chuxiaoyuan
 *
 */
public class PwdChange {

	/**
	 * Constructor.
	 */
	public PwdChange() {
		//
	}

	/**
	 * Constructor.
	 */
	public PwdChange(String oldPassword, String newPassword) {
		this.setOldPassword(oldPassword);
		this.setNewPassword(newPassword);
	}
	
	/**
	 * The old password.
	 */
	private String oldPassword;
	
	/**
	 * The new password.
	 */
	private String newPassword;

	/**
	 * @return the oldPassword
	 */
	public String getOldPassword() {
		return oldPassword;
	}

	/**
	 * @param oldPassword the oldPassword to set
	 */
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	/**
	 * @return the newPassword
	 */
	public String getNewPassword() {
		return newPassword;
	}

	/**
	 * @param newPassword the newPassword to set
	 */
	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

}
